<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-1.11.3.js"></script>
</head>
<body>
    <h1>仿照抖音点击+1(0)</h1>
    <button>0</button>
    <script>
        $('button').click(function () {
            $num=parseInt($('button').html())+1;
            $('button').html($num);
        });
    </script>
</body>
</html>